package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 枚举信息模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "枚举信息模型")
public class EnumInfo {
    
    @JsonProperty("key")
    @Schema(description = "枚举键", example = "DAY")
    private String key;
    
    @JsonProperty("value")
    @Schema(description = "枚举值", example = "日")
    private String value;
    
    @JsonProperty("description")
    @Schema(description = "枚举描述", example = "按日查询数据，日期格式：yyyy-MM-dd")
    private String description;
}
